(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4513],{41540:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[n1]/p/[sku]",function(){return n(11607)}])},81596:function(e,t,n){"use strict";n.d(t,{a:function(){return Breadcrumb}});var r=n(85893);n(67294);var o=n(41664),a=n.n(o),i=n(37340),c=n(20256);function _templateObject(){let e=(0,i._)(["\n @media only screen and (max-width: 768px) {\n padding: 0 1.25rem;\n }\n\n .breadcrumb-list {\n text-align: left;\n width: 100%;\n padding: 20px 40px;\n display: flex;\n align-items: center;\n\n &__item {\n list-style: none;\n align-items: center;\n padding-right: 5px;\n display: flex;\n align-items: center;\n\n &::after {\n margin-left: 5px;\n content: '/';\n font: inherit;\n }\n\n &:last-of-type {\n &::after {\n display: none;\n }\n\n .zz-icon {\n display: none;\n }\n }\n\n a {\n font-size: 12px;\n color: ",";\n letter-spacing: 2px;\n text-decoration: none;\n }\n }\n }\n"]);return _templateObject=function(){return e},e}let s=c.ZP.div.withConfig({componentId:"sc-12a378a7-0"})(_templateObject(),e=>e.theme.colors.breadcrumb.color);function Breadcrumb(e){let{data:t,className:n,icon:o,...i}=e;return(0,r.jsx)(s,{...i,className:n,children:(0,r.jsx)("ul",{className:"breadcrumb-list",children:null==t?void 0:t.map(e=>{let{url:t,name:n}=e;return(0,r.jsxs)("li",{className:"breadcrumb-list__item",children:[(0,r.jsx)(a(),{href:t,children:n},t),null==o?void 0:o()]},n)})})})}},60252:function(e,t,n){"use strict";n.d(t,{I:function(){return CheckboxInput}});var r=n(85893);n(67294);var o=n(20256),a=n(42473),i=n(37340);function _templateObject(){let e=(0,i._)(["\n display: flex;\n align-items: center;\n user-select: none;\n font-size: 12px;\n line-height: 1.4;\n margin-bottom: 10px;\n opacity: ",";\n cursor: ",";\n\n :hover {\n .checkmark {\n background-color: ",";\n }\n }\n\n .checkmark-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n input {\n border: 0;\n height: 0px;\n opacity: 0;\n padding: 0;\n position: absolute;\n visibility: visible;\n width: 0px;\n }\n\n input:checked + .checkmark {\n border: 1px solid\n ",";\n }\n\n input:checked + .checkmark:after {\n opacity: 1;\n }\n\n input:checked ~ .icon {\n display: flex;\n }\n\n .checkmark {\n border: 1px solid\n ",";\n border-radius: 0;\n min-height: ",";\n min-width: ",";\n padding: 1px;\n display: inline-flex;\n position: relative;\n }\n\n .checkmark:after {\n content: '';\n display: flex;\n background-color: ",";\n flex: 1;\n opacity: 0;\n transition: opacity 0.3s ease-out;\n }\n\n .icon {\n position: absolute;\n display: none;\n padding: 4px;\n align-self: center;\n }\n\n .content {\n margin-left: 10px;\n }\n\n a {\n margin-left: 5px;\n }\n\n @media only screen and (max-width: 768px) {\n font-size: 10px;\n }\n"]);return _templateObject=function(){return e},e}function getDimensionSize(e){return"large"===e?"26px":"16px"}let c=o.ZP.label.withConfig({componentId:"sc-9a9a10bf-0"})(_templateObject(),e=>e.isDisabled?.5:1,e=>e.isDisabled?"not-allowed":"pointer",e=>e.theme.colors.checkboxInput.hover,e=>e.theme.colors.checkboxInput.checkedBorder,e=>e.theme.colors.checkboxInput.uncheckedBorder,e=>getDimensionSize(e.size),e=>getDimensionSize(e.size),e=>e.theme.colors.checkboxInput.checkedBackground);function CheckboxInput(e){let{isChecked:t,id:n,children:i,onChange:s,isDisabled:u,register:l,dataTestId:d,value:p,size:m,name:f,iconName:h,defaultChecked:_,className:b="",...x}=e,g=(0,o.Fg)();return(0,r.jsxs)(c,{size:m,htmlFor:n,className:"".concat(b," checkmark-container").trim(),...x,children:[(0,r.jsxs)("div",{className:"checkmark-wrapper",children:[(0,r.jsx)("input",{id:n,type:"checkbox",disabled:u,checked:t,value:p,"data-testid":d,name:f,defaultChecked:_,onChange:s,...l}),(0,r.jsx)("div",{className:"checkmark"}),h?(0,r.jsx)(a.X,{name:h,fillColor:g.colors.checkboxInput.checkedIcon,className:"icon"}):null]}),(0,r.jsx)("span",{className:"content",children:i})]})}},46878:function(e,t,n){"use strict";n.d(t,{A:function(){return chip_Chip}});var r=n(85893),o=n(37340),a=n(20256);function _templateObject(){let e=(0,o._)(["\n height: 24px;\n border-radius: 20px;\n background-color: ",";\n display: flex;\n align-items: center;\n justify-content: center;\n\n span {\n font-style: normal;\n font-weight: normal;\n font-size: 12px;\n color: ",";\n padding: 0 15px;\n text-transform: uppercase;\n }\n"]);return _templateObject=function(){return e},e}let i=a.ZP.div.withConfig({componentId:"sc-3fe3ce6-0"})(_templateObject(),e=>e.backgroundColor?e.backgroundColor:e.theme.colors.chip.background,e=>e.color?e.color:e.theme.colors.chip.text);function chip_Chip(e){let{label:t,backgroundColor:n,color:o,className:a,dataTestId:c}=e;return(0,r.jsx)(i,{className:a,backgroundColor:n,color:o,label:t,children:(0,r.jsx)("span",{"data-testid":c,children:t})})}},60439:function(e,t,n){"use strict";n.d(t,{F:function(){return Head}});var r=n(85893),o=n(9008),a=n.n(o),i=n(12012),c=n(45907);function Head(e){let{title:t,description:n,ogTitle:o,ogDescription:s,ogImage:u,children:l}=e,{renderCanonicalLink:d}=(0,i.K)();return(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{name:"description",content:n?c.aS({text:n,size:160}):""}),function(){let e=o||t;return e?(0,r.jsx)("meta",{property:"og:title",content:e}):null}(),function(){if(s)return(0,r.jsx)("meta",{property:"og:description",content:s});if(n){let e=c.aS({text:n,size:200});return(0,r.jsx)("meta",{property:"og:description",content:e})}return null}(),function(){let e=u||"https://secure-static.anacapri.com.br/content/ana/images/e-commerce/logo-anacapri.svg";return e?(0,r.jsx)("meta",{property:"og:image",content:"".concat(e,"?ims=x276")}):null}(),d(),(0,r.jsx)("meta",{property:"og:locale",content:"pt_BR"}),(0,r.jsx)("meta",{property:"og:site_name",content:"Anacapri"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),l]})}},4255:function(e,t,n){"use strict";n.d(t,{N:function(){return RadioInput}});var r=n(85893),o=n(37340),a=n(20256);function _templateObject(){let e=(0,o._)(["\n display: flex;\n align-items: center;\n cursor: ",";\n opacity: ",";\n\n :hover,\n :focus {\n .radio-input__checkmark {\n background-color: ",";\n }\n }\n\n .radio-input {\n &__checkmark {\n border: 1px solid ",";\n background-color: transparent;\n border-radius: 50%;\n display: flex;\n min-height: 15px;\n min-width: 15px;\n padding: 3px;\n margin-right: 6px;\n }\n\n &__hidden-input {\n border: 0;\n height: 0;\n opacity: 0;\n padding: 0;\n position: absolute;\n visibility: visible;\n width: 0;\n\n :checked ~ .radio-input__checkmark::before {\n opacity: ",";\n }\n }\n\n &__text {\n font-size: 15px;\n line-height: 1.2;\n display: flex;\n flex: 1;\n text-transform: ",";\n }\n }\n"]);return _templateObject=function(){return e},e}let i=a.ZP.label.withConfig({componentId:"sc-5444da3-0"})(_templateObject(),e=>e.disabled?"not-allowed":"pointer",e=>e.disabled?.5:1,e=>e.theme.colors.radioInput.hover,e=>e.theme.colors.radioInput.border,e=>e.disabled?.5:1,e=>e.isUppercase?"uppercase":"none");function RadioInput(e){let{id:t,value:n,children:o,name:a,register:c,onChange:s,onClickLabel:u,checkmarkClassName:l="",contentClassName:d="",className:p,isUppercase:m=!1,disabled:f=!1,checked:h=!1,dataTestId:_}=e;return(0,r.jsxs)(i,{htmlFor:t,tabIndex:0,onClick:u,disabled:f,isUppercase:m,className:p,"data-testid":_,children:[(0,r.jsx)("input",{className:"radio-input__hidden-input",type:"radio",name:a,value:n,id:t,onChange:s,checked:h,...c}),(0,r.jsx)("span",{className:"".concat(l," radio-input__checkmark")}),(0,r.jsx)("span",{className:"".concat(d," radio-input__text"),children:o})]})}},73008:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r={SEARCH_OPEN_TEST:"webABTestSearchBarFixed",SHOW_INSTALLMENT:"webInstallmentsOnPDC",SHOW_LOGIN_MODAL_ON_CART:"webloginModalOnCart",BAG_INSTALLMENT_PRICE:"bagInstallmentPriceABTest",SHOW_PDP_VIDEO:"webShowPDPVideoABTest",PIX_PRICE_LAYOUT_PDP:"webPixLayoutPDP",USER_PERSONALIZATION_PDP:"webUserPersonalizationPdpABTest",WHATSAPP_ASSISTANT:"webShouldRenderWhatsAppAssistant"}},30576:function(e,t,n){"use strict";var r,o;n.d(t,{N:function(){return r}}),(o=r||(r={})).HEADER="Header",o.BODY="Body",o.FOOTER="Footer",o.SECTION_PRODUCT_COMPLEMENT="SectionProductComplement",o.PRODUCT_LIST_SAME_CATEGORY="SectionProductListSameCategory",o.SECTION_PRODUCT_CAROUSEL="SectionProductCarousel",o.SECTION_HTML_CAROUSEL="SectionHtmlCarousel",o.SECTION_VIDEO_ON_CUSTOM_BACKGROUND_MOBILE="SectionVideoOnCustomBackgroundMobile",o.SECTION_VIDEO_ON_CUSTOM_BACKGROUND="SectionVideoOnCustomBackground",o.FOOTER_BENEFITS="FooterBenefits",o.TIMER_DESKTOP="SectionSchutzArezzoCoTimer",o.TIMER_MOBILE="SectionSchutzArezzoCoTimerMobile",o.TIMER_DESKTOP_AREZZO="SectionArezzoCoTimer",o.TIMER_MOBILE_AREZZO="SectionArezzoCoTimerMobile",o.ANACAPRI_TIMER="SectionAnacapriArezzoCoTimer",o.ANACAPRI_TIMER_MOBILE="SectionAnacapriArezzoCoTimerMobile",o.ZZMALL_TIMER="SectionMarketplaceZZArezzoCoTimer",o.ZZMALL_TIMER_MOBILE="SectionMarketplaceZZArezzoCoTimerMobile"},29626:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});let r={PAYMENT_METHODS_ON_PDP:"100445795"}},39461:function(e,t,n){"use strict";n.d(t,{J:function(){return r},d:function(){return o}});let r={title:"Personalize sua bolsa por apenas R$69,90*",description:"*Na compra de uma bolsa Anacapri o bag charm sai por R$69,90 (30% de desconto)",price:69.9,type:"bag charm"},o={title:"A\xe7\xe3o: personalize o seu t\xeanis por apenas R$49,90",description:"*Na compra de um t\xeanis Anacapri o kit de personaliza\xe7\xe3o sai com pre\xe7o especial: R$49,90",price:49.9,type:"kit"}},79697:function(e,t,n){"use strict";n.d(t,{WISH_GIFT:function(){return r}});let r={CONFIG:{CONTACT_LIST_ID:"898305921",EMARSYS_CAMPAIGN:"ANA_LEADS_PRESENTE"},HEADER:{TITLE:"Quer ganhar um modelo Anacapri de presente?",DESCRIPTION:"Mandaremos o seu recado diretamente para quem voc\xea quiser, basta preencher os campos abaixo:"},SUCCESS:{TITLE:"Mensagem enviada com sucesso"},FORM:{PLACEHOLDERS:{name:"Digite seu nome*",email:"Digite seu e-mail*",phone:"(__) _____-____",targetPhone:"(__) _____-____"},LABELS:{name:"Seu nome*",email:"Seu e-mail*",targetPhone:"Telefone de quem ir\xe1 lhe presentar*",phone:"Seu telefone*",message:"Conte\xfado da mensagem*",size:"Selecione sua numera\xe7\xe3o*"}},CUSTOM_MESSAGE:e=>"Ol\xe1! Estava olhando o site da Anacapri e amei este produto ".concat(e,". Fica a dica de presente!")}},58477:function(e,t,n){"use strict";n.d(t,{E:function(){return useCashback}});var r=n(67294),o=n(79560),a=n(45613),i=n(23455);async function getProductCashback(e){let t=await a.hi.get("/products/cashback/".concat(e));return(0,i.m9)(t.data,e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{currencyIso:e.currencyIso||"",formattedValue:e.formattedValue||"",priceType:e.priceType||"",value:e.value||0}})(e))}let c={getProductCashback};var s=n(73866);function useCashback(e){let{isLoadingDynamicData:t,product:n}=e,[a,i]=(0,r.useState)(),{isCashbackWebEnabled:u}=(0,o.m4)(),{code:l}=n;return(0,r.useEffect)(()=>{if(!u||t)return;let fetchProductCashbackValue=async()=>{let{result:e,hasError:t,errors:n}=await c.getProductCashback(l);if(t){i(void 0),s.vU({title:"".concat("Falha ao recuperar o valor de cashback do produto"," ").concat(l),stack:n});return}e&&i(e)};fetchProductCashbackValue()},[u,l,t]),{productCashback:a,isCashbackWebEnabled:u}}},70004:function(e,t,n){"use strict";n.d(t,{C:function(){return useChannelDisplay}});var r=n(67294),o=n(38371);let useChannelDisplay=e=>{let t=e===o.xu.APP;return(0,r.useMemo)(()=>({showAppPromo:t}),[t])}},14683:function(e,t,n){"use strict";n.d(t,{t:function(){return useConvert}});var r=n(67294),o=n(24185);function useConvert(e){let{experienceId:t="",activeVariant:n=o.F.B}=e||{},[a,i]=(0,r.useState)(!1),c=(0,r.useCallback)(e=>Array.isArray(n)?n.includes(e):e===n,[n]),s=(0,r.useCallback)(e=>{if("detail"in e){let n=e.detail,r=Number(null==n?void 0:n[t]);i(c(r))}},[t,c]);return(0,r.useEffect)(()=>{var e,n;window.addEventListener("convertUpdated",s);let r=Number(null===(n=window)||void 0===n?void 0:null===(e=n.convert_experiences)||void 0===e?void 0:e[t]);return i(c(r)),()=>{window.removeEventListener("convertUpdated",s)}},[t,c,s]),{isVariant:a}}},12012:function(e,t,n){"use strict";n.d(t,{K:function(){return useHead}});var r=n(85893),o=n(39332);function useHead(){let e=(0,o.usePathname)();return{renderCanonicalLink:function(){let t="".concat("https://www.anacapri.com.br").concat(e);return(0,r.jsx)("link",{rel:"canonical",href:t})}}}},41244:function(e,t,n){"use strict";n.d(t,{W:function(){return useMatchMutate}});var r=n(8100);function useMatchMutate(){let{cache:e,mutate:t}=(0,r.kY)();return function(n,r,o){for(var a=arguments.length,i=Array(a>3?a-3:0),c=3;c{n.test(t)&&s.push(t)});let u=s.map(e=>t(e,e=>o(e,...i),r));return Promise.all(u)}}},47178:function(e,t,n){"use strict";n.d(t,{f:function(){return useNearStores}});var r=n(67294),o=n(43740),a=n(45613),i=n(23455);async function getStoresLocationByProduct(e,t){let n=e.replaceAll("/","-"),r=await a.hi.get("stores/".concat(n,"/location-by-product?zipCode=").concat(t));return(0,i.m9)(r.data,e=>(0,o.a)(e).stores)}var c=n(91315),s=n(79560);function useNearStores(e){let{isProductSellable:t,isLoadingDynamicData:n=!1,selectedOption:o}=e,{cepLocation:a}=(0,c.f)(),{isLoadingWebParameters:i,activatePickupButtonOnPDP:u}=(0,s.m4)(),[l,d]=(0,r.useState)([]),[p,m]=(0,r.useState)(!1),[f,h]=(0,r.useState)(!1),_=(null==o?void 0:o.stores.length)||0,b=!!a.cep,x=!!o&&!(null==o?void 0:o.sellable),g=(0,r.useCallback)(async e=>{let t=e&&a.cep;if(!t)return;m(!1),h(!0);let{result:n,hasError:r}=await getStoresLocationByProduct(e,a.cep);if(h(!1),r||(null==n?void 0:n.length)===0){d([]),m(!0);return}n&&d(n)},[a.cep]);return(0,r.useEffect)(()=>{g(null==o?void 0:o.code)},[null==o?void 0:o.code,g,a.cep]),(0,r.useEffect)(()=>{a.cep||d([])},[a.cep]),{isPickupWebParamActive:u,isProductOrSizeUnavailable:!t||x,isLoadingInitialState:n||i,hasLocation:b,hasNearStoresFromSize:_>0,nearStoresQuantityFromSize:_,nearStoresDetails:l,updateNearStoresDetails:g,hasUpdateStoresError:p,isLoadingStoresDetails:f}}},12198:function(e,t,n){"use strict";n.d(t,{G:function(){return useProductViewAnalytics}});var r=n(46840),o=n(11356),a=n(91315),i=n(81836),c=n(55773);function useProductViewAnalytics(e){let{product:t,productCashback:n,isCashbackWebEnabled:s=!0,isLoadingDynamicData:u,hasTryOn:l=!1}=e,d=(0,r.o)(),{user:p}=(0,o.aC)(),{cepLocation:m}=(0,a.f)(),f=u||s&&!n,sendEvent=async()=>{let e=await (0,c.SG)({user:p,cepLocation:m}),r=(0,c.gr)({userBalance:null==p?void 0:p.balanceAvailableAmount,cashbackValue:null==n?void 0:n.value});d.viewProductDetails(()=>({product:t,userProperty:e,cashbackProperty:r,hasTryOn:l}))};(0,i.Q)(()=>{f||sendEvent()},[f])}},68472:function(e,t,n){"use strict";n.d(t,{G:function(){return useSimilarProductsTracking}});var r=n(67294),o=n(55773),a=n(46840),i=n(81836),c=n(11356),s=n(91315);function useSimilarProductsTracking(e){let{user:t}=(0,c.aC)(),{cepLocation:n}=(0,s.f)(),{mainProductCode:u,similarProducts:l,isLoadingFetchSimilarProducts:d}=e,p=(0,r.useRef)(l),m=(0,r.useRef)(0),f=(0,a.o)();async function handleTrackSimilarProductClick(e,r){let a=await (0,o.SG)({user:t,cepLocation:n});f.similarProductsClicked({products:[e],mainProductId:u,position:r,userProperty:a})}(0,r.useEffect)(()=>{p.current=l},[l]),(0,i.Q)(()=>{!d&&p.current.length>0&&(h({products:[p.current[0],p.current[1]].filter(Boolean),position:0}),m.current=1)},[d,p]);let h=(0,r.useCallback)(async e=>{let{products:t,position:n}=e;f.similarProductsViewed({products:t,mainProductId:u,position:n})},[f,u]),_=(0,r.useCallback)(e=>{let t=e+1;if(t<=m.current)return;m.current=t;let n=t%2==0;if(n){let e=[...p.current].splice(t,2);h({products:e,position:t})}},[h]);return{handleCarouselSlideMove:_,handleTrackSimilarProductClick}}},67662:function(e,t,n){"use strict";n.d(t,{q:function(){return SizeRecommendation}});var r=n(85893),o=n(42473),a=n(67294),i=n(56423),c=n(62854);let s={"size-up":"maior","size-down":"menor"};function SizeRecommendation(e){let{renderSliderInformation:t,handleHasSizeRecommendation:n,iconSize:u=18}=e,{isLoading:l,sizeRecommendationProduct:d}=function(e){let{currentSize:t,productCode:n,sizeOptions:r}=e,[o,c]=(0,a.useState)(null),[s,u]=(0,a.useState)(!0),{getWebConfig:l}=(0,i.f)(),{sizeRecommendationProducts:d}=l()||{},p=r[0].value===(null==t?void 0:t.value),m=r[r.length-1].value===(null==t?void 0:t.value),f=(0,a.useCallback)(()=>{if(d){let e=d.find(e=>e.code===n);c(e||null)}},[n,d]);return(0,a.useEffect)(()=>{o||f()},[d,o,f]),(0,a.useEffect)(()=>{u(!1)},[]),{sizeRecommendationProduct:!function(){if(!t||!o)return!1;let{suggestion:e}=o;return("size-down"!==e||!p)&&("size-up"!==e||!m)}()?null:{...o},isLoading:s}}({...e}),{suggestion:p}=d||{};return l||null==n||n(!!d),d?(0,r.jsxs)("div",{className:(0,c.C$)({_common:"tw-flex tw-flex-col tw-gap-1.5",anacapri:"tw-mb-6",vans:"tw-border-vans-neutral-medium tw-mt-6 tw-w-full tw-rounded\n tw-border tw-bg-wild-sand tw-p-4",arezzo:"tw-mt-4 tw-gap-2 tw-border tw-border-pale-silver tw-p-6",schutz:"tw-mt-6"}),children:[(0,r.jsxs)("h4",{className:(0,c.C$)({_common:"tw-flex tw-gap-1.5 tw-text-sm",vans:"tw-items-center tw-font-medium",anacapri:"tw-font-medium",arezzo:"tw-text-xs tw-font-semibold",schutz:"tw-font-bold tw-uppercase"}),children:[(0,r.jsx)(o.X,{name:"alertTriangleLight",className:(0,c.C$)({_common:"max-md:tw-h-auto",arezzo:"tw-hidden"}),size:u})," ","Recomenda\xe7\xe3o de tamanho"]}),(0,r.jsx)("p",{className:(0,c.C$)({_common:"tw-text-xs",arezzo:"tw-text-zorba-dark",vans:"tw-mt-1 tw-text-sm"}),children:function(){if(!p)return"";let e=(null==s?void 0:s[p])||"";return(0,r.jsxs)(r.Fragment,{children:["Com base no hist\xf3rico de outros clientes, sugerimos que escolha um tamanho"," ",(0,r.jsx)("strong",{className:(0,c.C$)({arezzo:"tw-text-black",vans:"tw-font-medium"}),children:e})," ","que o habitual."]})}()}),p?null==t?void 0:t({suggestion:p}):null]}):null}},11607:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g},default:function(){return Product},getProductStaticProps:function(){return getProductStaticProps}});var r=n(85893),o=n(60439),a=n(35131),i=n(82636),c=n(36563),s=n(82415),u=n(12737),l=n(39906),d=n(23821),p=n(67005),m=n(78069),f=n(38371),h=n(91474),_=n(73866),b=n(45627),x=n(35426),g=!0;async function getProductStaticProps(e){var t,n;let{sku:r=""}=(null==e?void 0:e.params)||{},o={action:f.OL.RelatedItems,productsCode:[r],numberOfResults:c.Cj};async function getSimilarProducts(e){return(0,h.k)(a.BrandId.Arezzo)&&e?await d.M.getProductsRecommendation(o,c.Bw):null}let[u,l,m]=await Promise.all([await d.M.getSlots(r),await d.M.getStaticProductData(r),await p.J.getWebParameters()]),{result:x}=u,{result:g,hasError:S,errors:v,status:C}=l,{result:k}=m,w=null==g?void 0:null===(t=g.productCustomization)||void 0===t?void 0:t.isPersonalizeEnabled,{isSimilarProductsOnPdpEnabled:P}=k||{},E=await getSimilarProducts(!!P),{result:A=[]}=E||{};if(S||!g){if(_.vU({title:"Ocorreu um erro ao buscar o produto com o SKU ".concat(r),stack:v}),C===i.B.NOT_FOUND||C===i.B.BAD_REQUEST)return{notFound:!0,revalidate:(0,b.u)(S)};throw Error((null===(n=v[0])||void 0===n?void 0:n.message)||"Erro ao buscar o produto")}S||_.um({title:"P\xe1gina do produto com SKU ".concat(r," gerada com sucesso!")});let T=(0,s.b)({}),O={...T,...g};return{props:{product:O,slots:x,similarProducts:A,isPersonalizeEnabled:w},revalidate:(0,b.u)(S)}}function Product(e){let{product:t,slots:n,similarProducts:a,isPersonalizeEnabled:i}=e;return(0,r.jsxs)(u.Z,{slots:Object.values(n),children:[(0,r.jsx)(o.F,{title:"".concat(t.name," | ").concat(m.T.PAGE_TITLE_BRAND_NAME),description:x.Gf(t),ogDescription:t.metaDescription,ogImage:t.primaryImage.url,ogTitle:x.Gv(t)}),(0,r.jsx)(l.e,{slots:n,product:t,similarProducts:a,isPersonalizeEnabled:i})]})}},97986:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(45613),o=n(23455);async function postNotifyMe(e){let{customerEmail:t,customerName:n,myStore:a,newsletter:i,phoneNumber:c,productCode:s,shoeSize:u,userId:l}=e,d=await r.hi.post("users/".concat(l||"anonymous","/notify-me-list/").concat(s),{customerEmail:t,customerName:n,myStore:a,newsletter:i,phoneNumber:c,productCode:s,shoeSize:u});return(0,o.m9)(d.data,e=>e)}let a={postNotifyMe}},45627:function(e,t,n){"use strict";n.d(t,{u:function(){return calculateRevalidate}});let calculateRevalidate=e=>e?10:300}},function(e){e.O(0,[2422,741,8597,3985,8187,2823,8025,9774,2888,179],function(){return e(e.s=41540)}),_N_E=e.O()}]);